<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>title</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">

<style>

</style>
</head>

<body>


	<h3 style="text-align: center" class="form">以下资源可供下载或发送邮件</h3>
	<div class="container">
		<c:forEach items="${map}" var="me">
			<c:url value="/com/test/servlet/DownloadServlet" var="url">
				<c:param name="filename" value="${me.key}"></c:param>
			</c:url>
    	${me.value}  
    	<a href="${url}">下载</a> 
    	<a href="${pageContext.request.contextPath}/com/test/servlet/SendServlet"> 发送邮件</a>
			<br />
		</c:forEach>
	</div>
	
	
</body>
</html>